package com.haoji.upload.common.constant;

public enum ResponseEnum implements BaseRespose{

    SUCCESS("200","请求成功"),
    ERROR("500","未知异常"),
    BODY_NOT_MATCH("400","请求的数据格式不符!"),
    SIGNATURE_NOT_MATCH("401","请求的数字签名不匹配!"),
    NOT_FOUND("404", "未找到该资源!"),
    SERVER_BUSY("503","服务器正忙，请稍后再试!"),
    OTHER_ERROR("1000","接口调用报错，请联系管理员");

    private String code;
    private String message;

    ResponseEnum(String code, String message) {
        this.code = code;
        this.message = message;
    }

    public String getCode() {
        return code;
    }

    @Override
    public String getMsg() {
        return message;
    }

    public String getMessage() {
        return message;
    }


}
